<?php

namespace App\Model\Attend;

use App\Model\BaseModel;

class Leave extends BaseModel
{
	public $tableName = "sc_leave_rules";

	public function getSelData($where)
    {
         $this->field('id, name')
            ->order('id', 'desc')
            ->where($where)
            ->all();
        $lists = $this->lastQueryResult()->getResult();
        return $lists;
    }


}